layui.use(['form'], function (form) {
    form.render();

    //返回
    $(document).on("click", "#returnMain", function () {
        let index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
        parent.layer.close(index); //再执行关闭
        location.href = "phone-main.html";
    })

});